# -*- coding: utf-8 -*-
from django.conf.urls.defaults import * #@UnusedWildImport
from django.contrib import admin
import views

admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', views.index, name="index"),
    url(r'^create-server/$', views.create_server, name="create_server"),
    url(r'^servers/(?P<server_id>\d+)/$', views.server_reports, name="server_reports"),
    url(r'^servers/(?P<server_id>\d+)/edit/$', views.server_settings, name="server_settings"),
    url(r'^servers/(?P<server_id>\d+)/graph/(?P<plugin>.+?)/(?P<w>\d+)x(?P<h>\d+)/$', views.graph_image, name="graph_image"),
    url(r'^admin/', include(admin.site.urls)),
)
